import unittest
from Config import CONFIG
from CheckPoint import CheckPoint
from BasePage import *
from time import sleep
from pages.LoginPage import LoginPage


class TestBase(unittest.TestCase):
    def setUp(self):   # 用例执行前需要登录
        self.driver = BasePage.lanuch_app(self)
        self.checkpont = CheckPoint()
        # LoginPage(self.driver).login_success("17600100003", "123456")

    def tearDown(self):   # 用例结束之后操作
        sleep(3)
        BasePage.app_closed(self)



